package com.systemsetup.systemsetup.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.systemsetup.systemsetup.model.TitlePicture;
import com.systemsetup.systemsetup.model.Userrole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Yang
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<Userrole> {
    int userSetRole(JSONObject jsonParam);

    /**
     * 根据用户id删除
     * @param jsonParam
     */
    void delUserRole(JSONObject jsonParam);

    List<TitlePicture> getHeaderTitle(JSONObject jsonParam);
}
